/* ---------------------------------------------------------------------------
** Client.h
** 	Send packages to robot via WIFI
**
** Author: Roel Postelmans
** -------------------------------------------------------------------------*/ 
#ifndef CLIENT_H_
#define CLIENT_H_

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <strings.h>
#include <unistd.h> 
#include "package.h"

#define GROEP_A "192.168.1.11"
#define GROEP_B "192.168.1.12"

class Client {
   int sockfd,n;
   struct sockaddr_in servaddr_a,servaddr_b,cliaddr;
   public:
       void init();
       void close_socket();
       void send(Udp_package udp_package);
};

#endif
